home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60rt.lha / Vim / vim60 / doc / index.txt < prev    next >
Encoding:
Text File  |  2001-09-26  |  59.1 KB  |  1,364 lines

  1. *index.txt*     For Vim version 6.0.  Last change: 2001 Sep 03
  2.  
  3.  
  4.           VIM REFERENCE MANUAL    by Bram Moolenaar
  5.  
  6.                                 *index*
  7. This file contains a list of all commands for each mode, with a tag and a
  8. short description.  The lists are sorted on ASCII value.
  9.  
  10. Tip: When looking for certain functionality, use a search command.  E.g.,
  11. to look for deleting something, use: "/delete".
  12.  
  13. 1. Insert mode                |insert-index|
  14. 2. Normal mode                |normal-index|
  15.    2.1. Text objects            |objects|
  16.    2.2. Window commands            |CTRL-W|
  17.    2.3. Square bracket commands        |[|
  18.    2.4. Commands starting with 'g'    |g|
  19.    2.5. Commands starting with 'z'    |z|
  20. 3. Visual mode                |visual-index|
  21. 4. Command-line editing            |ex-edit-index|
  22. 5. EX commands                |ex-cmd-index|
  23.  
  24. For an overview of options see help.txt |option-list|.
  25. For a complete description of each option see options.txt |options|.
  26. For a complete listing of all help items see |help-tags|.
  27.  
  28. ==============================================================================
  29. 1. Insert mode                        *insert-index*
  30.  
  31. tag        char        action    ~
  32. -----------------------------------------------------------------------
  33. |i_CTRL-@|    CTRL-@        insert previously inserted text and stop
  34.                 insert
  35. |i_CTRL-A|    CTRL-A        insert previously inserted text
  36.         CTRL-B        not used |i_CTRL-B-gone|
  37. |i_CTRL-C|    CTRL-C        quit insert mode, without checking for
  38.                 abbreviation, unless 'insertmode' set.
  39. |i_CTRL-D|    CTRL-D        delete one shiftwidth of indent in the current
  40.                 line
  41. |i_CTRL-E|    CTRL-E        insert the character which is below the cursor
  42.         CTRL-F        not used
  43. |i_CTRL-G_j|    CTRL-G CTRL-J    line down, to column where inserting started
  44. |i_CTRL-G_j|    CTRL-G j    line down, to column where inserting started
  45. |i_CTRL-G_j|    CTRL-G <Down>    line down, to column where inserting started
  46. |i_CTRL-G_k|    CTRL-G CTRL-K    line up, to column where inserting started
  47. |i_CTRL-G_k|    CTRL-G k    line up, to column where inserting started
  48. |i_CTRL-G_k|    CTRL-G <Up>    line up, to column where inserting started
  49. |i_<BS>|    <BS>        delete character before the cursor
  50. |i_digraph|    {char1}<BS>{char2}
  51.                 enter digraph (only when 'digraph' option set)
  52. |i_CTRL-H|    CTRL-H        same as <BS>
  53. |i_<Tab>|    <Tab>        insert a <Tab> character
  54. |i_CTRL-I|    CTRL-I        same as <Tab>
  55. |i_<NL>|    <NL>        same as <CR>
  56. |i_CTRL-J|    CTRL-J        same as <CR>
  57. |i_CTRL-K|    CTRL-K {char1} {char2}
  58.                 enter digraph
  59. |i_CTRL-L|    CTRL-L        when 'insertmode' set: Leave Insert mode
  60. |i_<CR>|    <CR>        begin new line
  61. |i_CTRL-M|    CTRL-M        same as <CR>
  62. |i_CTRL-N|    CTRL-N        find next match for keyword in front of the
  63.                 cursor
  64. |i_CTRL-O|    CTRL-O        execute a single command and return to insert
  65.                 mode
  66. |i_CTRL-P|    CTRL-P        find previous match for keyword in front of
  67.                 the cursor
  68. |i_CTRL-Q|    CTRL-Q        same as CTRL-V (used for terminal control flow)
  69. |i_CTRL-R|    CTRL-R {0-9a-z"%#*:=}
  70.                 insert the contents of a register
  71. |i_CTRL-R_CTRL-R| CTRL-R CTRL-R {0-9a-z"%#*:=}
  72.                 insert the contents of a register literally
  73. |i_CTRL-R_CTRL-O| CTRL-R CTRL-O {0-9a-z"%#*:=}
  74.                 insert the contents of a register literally
  75.                 and don't auto-indent
  76. |i_CTRL-R_CTRL-P| CTRL-R CTRL-P {0-9a-z"%#*:=}
  77.                 insert the contents of a register literally
  78.                 and fix indent.
  79.         CTRL-S        (used for terminal control flow)
  80. |i_CTRL-T|    CTRL-T        insert one shiftwidth of indent in current
  81.                 line
  82. |i_CTRL-U|    CTRL-U        delete all entered characters in the current
  83.                 line
  84. |i_CTRL-V|    CTRL-V {char}    insert next non-digit literally
  85. |i_CTRL-V_digit| CTRL-V {number} insert three digit decimal number as a single
  86.                 byte.
  87. |i_CTRL-W|    CTRL-W        delete word before the cursor
  88. |i_CTRL-X|    CTRL-X {mode}    enter CTRL-X sub mode, see below
  89. |i_CTRL-Y|    CTRL-Y        insert the character which is above the cursor
  90. |i_CTRL-Z|    CTRL-Z        when 'insertmode' set: suspend Vim
  91. |i_<Esc>|    <Esc>        end insert mode (unless 'insertmode' set)
  92. |i_CTRL-[|    CTRL-[        same as <Esc>
  93. |i_CTRL-\_CTRL-N| CTRL-\ CTRL-N     go to Normal mode
  94.         CTRL-\ a - z    reserved for extensions
  95.         CTRL-\ others    not used
  96. |i_CTRL-]|    CTRL-]        trigger abbreviation
  97. |i_CTRL-^|    CTRL-^        toggle use of |:lmap| mappings
  98. |i_CTRL-_|    CTRL-_        When 'allowrevins' set: change language
  99.                 (Hebrew, Farsi) {only when compiled with
  100.                 +rightleft feature}
  101.  
  102.         <Space> to '~'    not used, except '0' and '^' followed by
  103.                 CTRL-D
  104.  
  105. |i_0_CTRL-D|    0 CTRL-D    delete all indent in the current line
  106. |i_^_CTRL-D|    ^ CTRL-D    delete all indent in the current line, restore
  107.                 it in the next line
  108.  
  109. |i_<Del>|    <Del>        delete character under the cursor
  110.  
  111.         Meta characters (0x80 to 0xff, 128 to 255)
  112.                 not used
  113.  
  114. |i_<Left>|    <Left>        cursor one character left
  115. |i_<S-Left>|    <S-Left>    cursor one word left
  116. |i_<C-Left>|    <C-Left>    cursor one word left
  117. |i_<Right>|    <Right>        cursor one character right
  118. |i_<S-Right>|    <S-Right>    cursor one word right
  119. |i_<C-Right>|    <C-Right>    cursor one word right
  120. |i_<Up>|    <Up>        cursor one line up
  121. |i_<S-Up>|    <S-Up>        same as <PageUp>
  122. |i_<Down>|    <Down>        cursor one line down
  123. |i_<S-Down>|    <S-Down>    same as <PageDown>
  124. |i_<Home>|    <Home>        cursor to start of line
  125. |i_<C-Home>|    <C-Home>    cursor to start of file
  126. |i_<End>|    <End>        cursor past end of line
  127. |i_<C-End>|    <C-End>        cursor past end of file
  128. |i_<PageUp>|    <PageUp>    one screenfull backward
  129. |i_<PageDown>|    <PageDown>    one screenfull forward
  130. |i_<F1>|    <F1>        same as <Help>
  131. |i_<Help>|    <Help>        stop insert mode and display help window
  132. |i_<Insert>|    <Insert>    toggle Insert/Replace mode
  133. |i_<LeftMouse>|    <LeftMouse>    cursor at mouse click
  134. |i_<MouseDown>|    <MouseDown>    scroll three lines downwards
  135. |i_<S-MouseDown>| <S-MouseDown>    scroll a full page downwards
  136. |i_<MouseUp>|    <MouseUp>    scroll three lines upwards
  137. |i_<S-MouseUp>|    <S-MouseUp>    scroll a full page upwards
  138.  
  139. commands in CTRL-X submode
  140.  
  141. |i_CTRL-X_CTRL-D|    CTRL-X CTRL-D    complete defined identifiers
  142. |i_CTRL-X_CTRL-E|    CTRL-X CTRL-E    scroll up
  143. |i_CTRL-X_CTRL-F|    CTRL-X CTRL-F    complete file names
  144. |i_CTRL-X_CTRL-I|    CTRL-X CTRL-I    complete identifiers
  145. |i_CTRL-X_CTRL-K|    CTRL-X CTRL-K    complete identifiers from dictionary
  146. |i_CTRL-X_CTRL-L|    CTRL-X CTRL-L    complete whole lines
  147. |i_CTRL-X_CTRL-N|    CTRL-X CTRL-N    next completion
  148. |i_CTRL-X_CTRL-P|    CTRL-X CTRL-P    previous completion
  149. |i_CTRL-X_CTRL-Y|    CTRL-X CTRL-Y    scroll down
  150. |i_CTRL-X_CTRL-]|    CTRL-X CTRL-]    complete tags
  151. {not available when compiled without the +insert_expand feature}
  152.  
  153. ==============================================================================
  154. 2. Normal mode                        *normal-index*
  155.  
  156. CHAR     any non-blank character
  157. WORD     a sequence of non-blank characters
  158. N     a number entered before the command
  159. {motion} a cursor movement command
  160. Nmove     the text that is moved over with a {motion}
  161. SECTION     a section that possibly starts with '}' instead of '{'
  162.  
  163. note: 1 = cursor movement command; 2 = can be undone/redone
  164.  
  165. tag        char          note action in Normal mode    ~
  166. ------------------------------------------------------------------------------
  167.         CTRL-@           not used
  168. |CTRL-A|    CTRL-A        2  add N to number at/after cursor
  169. |CTRL-B|    CTRL-B        1  scroll N screens Backwards
  170. |CTRL-C|    CTRL-C           interrupt current (search) command
  171. |CTRL-D|    CTRL-D           scroll Down N lines (default: half a screen)
  172. |CTRL-E|    CTRL-E           scroll N lines upwards (N lines Extra)
  173. |CTRL-F|    CTRL-F        1  scroll N screens Forward
  174. |CTRL-G|    CTRL-G           display current file name and position
  175. |<BS>|        <BS>        1  same as "h"
  176. |CTRL-H|    CTRL-H        1  same as "h"
  177. |<Tab>|        <Tab>        1  go to N newer entry in jump list
  178. |CTRL-I|    CTRL-I        1  same as <Tab>
  179. |<NL>|        <NL>        1  same as "j"
  180. |CTRL-J|    CTRL-J        1  same as "j"
  181.         CTRL-K           not used
  182. |CTRL-L|    CTRL-L           redraw screen
  183. |<CR>|        <CR>        1  cursor to the first CHAR N lines lower
  184. |CTRL-M|    CTRL-M>        1  same as <CR>
  185. |CTRL-N|    CTRL-N        1  same as "j"
  186. |CTRL-O|    CTRL-O        1  go to N older entry in jump list
  187. |CTRL-P|    CTRL-P        1  cursor N lines upward
  188.         CTRL-Q           (used for terminal control flow)
  189. |CTRL-R|    CTRL-R        2  redo changes which were undone with 'u'
  190.         CTRL-S           (used for terminal control flow)
  191. |CTRL-T|    CTRL-T           jump to N older Tag in tag list
  192. |CTRL-U|    CTRL-U           scroll N lines Upwards (default: half a
  193.                    screen)
  194. |CTRL-V|    CTRL-V           start blockwise Visual mode
  195. |CTRL-W|    CTRL-W {char}       window commands, see |CTRL-W|
  196. |CTRL-X|    CTRL-X        2  subtract N from number at/after cursor
  197. |CTRL-Y|    CTRL-Y           scroll N lines downwards
  198. |CTRL-Z|    CTRL-Z           suspend program (or start new shell)
  199.         CTRL-[ <Esc>       not used
  200. |CTRL-\_CTRL-N| CTRL-\ CTRL-N       go to Normal mode (no-op)
  201.         CTRL-\ a - z       reserved for extensions
  202.         CTRL-\ others      not used
  203. |CTRL-]|    CTRL-]           :ta to ident under cursor
  204. |CTRL-^|    CTRL-^           edit Nth alternate file (equivalent to
  205.                    ":e #N")
  206.         CTRL-_           not used
  207.  
  208. |<Space>|    <Space>        1  same as "l"
  209. |!|        !{motion}{filter}
  210.                 2  filter Nmove text through the {filter}
  211.                    command
  212. |!!|        !!{filter}    2  filter N lines through the {filter} command
  213. |quote|        "{a-zA-Z0-9.%#:-"}  use buffer {a-zA-Z0-9.%#:-"} for next
  214.                    delete, yank or put (uppercase to append)
  215.                    ({.%#:} only work with put)
  216. |#|        #        1  search backward for the Nth occurrence of
  217.                    the ident under the cursor
  218. |$|        $        1  cursor to the end of Nth next line
  219. |%|        %        1  find the next (curly/square) bracket on
  220.                    this line and go to its match, or go to
  221.                    matching comment bracket, or go to matching
  222.                    preprocessor directive.
  223. |N%|        {count}%    1  go to N percentage in the file
  224. |&|        &        2  repeat last :s
  225. |'|        '{a-zA-Z0-9}    1  cursor to the first CHAR on the line with
  226.                    mark {a-zA-Z0-9}
  227. |''|        ''        1  cursor to the first CHAR of the line where
  228.                    the cursor was before the latest jump.
  229. |'(|        '(        1  cursor to the first CHAR on the line of the
  230.                    start of the current sentence
  231. |')|        ')        1  cursor to the first CHAR on the line of the
  232.                    end of the current sentence
  233. |'<|        '<        1  cursor to the first CHAR of the line where
  234.                    highlighted area starts/started in the
  235.                    current buffer.
  236. |'>|        '>        1  cursor to the first CHAR of the line where
  237.                    highlighted area ends/ended in the current
  238.                    buffer.
  239. |'[|        '[        1  cursor to the first CHAR on the line of the
  240.                    start of last operated text or start of
  241.                    putted text
  242. |']|        ']        1  cursor to the first CHAR on the line of the
  243.                    end of last operated text or end of putted
  244.                    text
  245. |'{|        '{        1  cursor to the first CHAR on the line of the
  246.                    start of the current paragraph
  247. |'}|        '}        1  cursor to the first CHAR on the line of the
  248.                    end of the current paragraph
  249. |(|        (        1  cursor N sentences backward
  250. |)|        )        1  cursor N sentences forward
  251. |star|        *        1  search forward for the Nth occurrence of
  252.                    the ident under the cursor
  253. |+|        +        1  cursor to the first CHAR N lines lower
  254. |,|        ,        1  repeat latest f, t, F or T in opposite
  255.                    direction N times
  256. |-|        -        1  cursor to the first CHAR N lines higher
  257. |.|        .        2  repeat last change with count replaced with
  258.                    N
  259. |/|        /{pattern}<CR>    1  search forward for the Nth occurrence of
  260.                    {pattern}
  261. |/<CR>|        /<CR>        1  search forward for {pattern} of last search
  262. |count|        0        1  cursor to the first char of the line
  263. |count|        1           prepend to command to give a count
  264. |count|        2            "
  265. |count|        3            "
  266. |count|        4            "
  267. |count|        5            "
  268. |count|        6            "
  269. |count|        7            "
  270. |count|        8            "
  271. |count|        9            "
  272. |:|        :           start entering an Ex command
  273. |N:|        {count}:       start entering an Ex command with range
  274.                    from current line to N lines down
  275. |;|        ;        1  repeat latest f, t, F or T N times
  276. |<|        <{motion}    2  shift Nmove lines one 'shiftwidth'
  277.                    leftwards
  278. |<<|        <<        2  shift N lines one 'shiftwidth' leftwards
  279. |=|        ={motion}    2  filter Nmove lines through "indent"
  280. |==|        ==        2  filter N lines through "indent"
  281. |>|        >{motion}    2  shift Nmove lines one 'shiftwidth'
  282.                    rightwards
  283. |>>|        >>        2  shift N lines one 'shiftwidth' rightwards
  284. |?|        ?{pattern}<CR>    1  search backward for the Nth previous
  285.                    occurrence of {pattern}
  286. |?<CR>|        ?<CR>        1  search backward for {pattern} of last search
  287. |@|        @{a-z}        2  execute the contents of named buffer {a-z}
  288.                    N times
  289. |@:|        @:           repeat the previous ":" command N times
  290. |@@|        @@        2  repeat the previous @{a-z} N times
  291. |A|        A        2  append text after the end of the line N times
  292. |B|        B        1  cursor N WORDS backward
  293. |C|        ["x]C        2  change from the cursor position to the end
  294.                    of the line, and N-1 more lines [into
  295.                    buffer x]; synonym for "c$"
  296. |D|        ["x]D        2  delete the characters under the cursor
  297.                    until the end of the line and N-1 more
  298.                    lines [into buffer x]; synonym for "d$"
  299. |E|        E        1  cursor forward to the end of WORD N
  300. |F|        F{char}        1  cursor to the Nth occurrence of {char} to
  301.                    the left
  302. |G|        G        1  cursor to line N, default last line
  303. |H|        H        1  cursor to line N from top of screen
  304. |I|        I        2  insert text before the first CHAR on the
  305.                    line N times
  306. |J|        J        2  Join N lines; default is 2
  307. |K|        K           lookup Keyword under the cursor with
  308.                    'keywordprg'
  309. |L|        L        1  cursor to line N from bottom of screen
  310. |M|        M        1  cursor to middle line of screen
  311. |N|        N        1  repeat the latest '/' or '?' N times in
  312.                    opposite direction
  313. |O|        O        2  begin a new line above the cursor and
  314.                    insert text, repeat N times
  315. |P|        ["x]P        2  put the text [from buffer x] before the
  316.                    cursor N times
  317. |Q|        Q           switch to "Ex" mode
  318. |R|        R        2  enter replace mode: overtype existing
  319.                    characters, repeat the entered text N-1
  320.                    times
  321. |S|        ["x]S        2  delete N lines [into buffer x] and start
  322.                    insert; synonym for "^cc" or "0cc",
  323.                    depending on autoindent
  324. |T|        T{char}        1  cursor till after Nth occurrence of {char}
  325.                    to the left
  326. |U|        U        2  undo all latest changes on one line
  327. |V|        V           start linewise Visual mode
  328. |W|        W        1  cursor N WORDS forward
  329. |X|        ["x]X        2  delete N characters before the cursor [into
  330.                    buffer x]
  331. |Y|        ["x]Y           yank N lines [into buffer x]; synonym for
  332.                    "yy"
  333. |ZZ|        ZZ           store current file if modified, and exit
  334. |ZQ|        ZQ           exit current file always
  335. |[|        [{char}           square bracket command (see below)
  336.         \           not used
  337. |]|        ]{char}           square bracket command (see below)
  338. |^|        ^        1  cursor to the first CHAR of the line
  339. |_|        _        1  cursor to the first CHAR N - 1 lines lower
  340. |`|        `{a-zA-Z0-9}    1  cursor to the mark {a-zA-Z0-9}
  341. |`(|        `(        1  cursor to the start of the current sentence
  342. |`)|        `)        1  cursor to the end of the current sentence
  343. |`<|        `<        1  cursor to the start of the highlighted area
  344. |`>|        `>        1  cursor to the end of the highlighted area
  345. |`[|        `[        1  cursor to the start of last operated text
  346.                    or start of putted text
  347. |`]|        `]        1  cursor to the end of last operated text or
  348.                    end of putted text
  349. |``|        ``        1  cursor to the position before latest jump
  350. |`{|        `{        1  cursor to the start of the current paragraph
  351. |`}|        `}        1  cursor to the end of the current paragraph
  352. |a|        a        2  append text after the cursor N times
  353. |b|        b        1  cursor N words backward
  354. |c|        ["x]c{motion}    2  delete Nmove text [into buffer x] and start
  355.                    insert
  356. |cc|        ["x]cc        2  delete N lines [into buffer x] and start
  357.                    insert
  358. |d|        ["x]d{motion}    2  delete Nmove text [into buffer x]
  359. |dd|        ["x]dd        2  delete N lines [into buffer x]
  360. |e|        e        1  cursor forward to the end of word N
  361. |f|        f{char}        1  cursor to Nth occurrence of {char} to the
  362.                    right
  363. |g|        g{char}           extended commands, see below
  364. |h|        h        1  cursor N chars to the left
  365. |i|        i        2  insert text before the cursor N times
  366. |j|        j        1  cursor N lines downward
  367. |k|        k        1  cursor N lines upward
  368. |l|        l        1  cursor N chars to the right
  369. |m|        m{A-Za-z}       set mark {A-Za-z} at cursor position
  370. |n|        n        1  repeat the latest '/' or '?' N times
  371. |o|        o        2  begin a new line below the cursor and
  372.                    insert text, repeat N times
  373. |p|        ["x]p        2  put the text [from register x] after the
  374.                    cursor N times
  375. |q|        q{0-9a-zA-Z"}       record typed characters into named register
  376.                    {0-9a-zA-Z"} (uppercase to append)
  377. |q|        q           (while recording) stops recording
  378. |q:|        q:           edit : command-line in command-line window
  379. |q/|        q/           edit / command-line in command-line window
  380. |q?|        q?           edit ? command-line in command-line window
  381. |r|        r{char}        2  replace N chars with {char}
  382. |s|        ["x]s        2  (substitute) delete N characters [into
  383.                    buffer x] and start insert
  384. |t|        t{char}        1  cursor till before Nth occurrence of {char}
  385.                    to the right
  386. |u|        u        2  undo changes
  387. |v|        v           start characterwise Visual mode
  388. |w|        w        1  cursor N words forward
  389. |x|        ["x]x        2  delete N characters under and after the
  390.                    cursor [into buffer x]
  391. |y|        ["x]y{motion}       yank Nmove text [into buffer x]
  392. |yy|        ["x]yy           yank N lines [into buffer x]
  393. |z|        z{char}           commands starting with 'z', see below
  394. |{|        {        1  cursor N paragraphs backward
  395. |bar|        |        1  cursor to column N
  396. |}|        }        1  cursor N paragraphs forward
  397. |~|        ~        2  'tildeop' off: switch case of N characters
  398.                    under cursor and move the cursor N
  399.                    characters to the right
  400. |~|        ~{motion}       'tildeop' on: switch case of Nmove text
  401. |<C-End>|    <C-End>        1  same as "G"
  402. |<C-Home>|    <C-Home>    1  same as "gg"
  403. |<C-Left>|    <C-Left>    1  same as "b"
  404. |<C-LeftMouse>|    <C-LeftMouse>       ":ta" to the keyword at the mouse click
  405. |<C-Right>|    <C-Right>    1  same as "w"
  406. |<C-RightMouse>| <C-RightMouse>       same as "CTRL-T"
  407. |<Del>|        ["x]<Del>    2  same as "x"
  408. |N<Del>|    {count}<Del>       remove the last digit from {count}
  409. |<Down>|    <Down>        1  same as "j"
  410. |<End>|        <End>        1  same as "$"
  411. |<F1>|        <F1>           same as <Help>
  412. |<Help>|    <Help>           open a help window
  413. |<Home>|    <Home>        1  same as "0"
  414. |<Insert>|    <Insert>    2  same as "i"
  415. |<Left>|    <Left>        1  same as "h"
  416. |<LeftMouse>|    <LeftMouse>    1  move cursor to the mouse click position
  417. |<MiddleMouse>| <MiddleMouse>    2  same as "P" at the mouse click position
  418. |<PageDown>|    <PageDown>       same as CTRL-F
  419. |<PageUp>|    <PageUp>       same as CTRL-B
  420. |<Right>|    <Right>        1  same as "l"
  421. |<RightMouse>|    <RightMouse>       start Visual mode, move cursor to the mouse
  422.                    click position
  423. |<S-Down>|    <S-Down>    1  same as CTRL-F
  424. |<S-Left>|    <S-Left>    1  same as "b"
  425. |<S-LeftMouse>|    <S-LeftMouse>       same as "*" at the mouse click position
  426. |<S-Right>|    <S-Right>    1  same as "w"
  427. |<S-RightMouse>| <S-RightMouse>       same as "#" at the mouse click position
  428. |<S-Up>|    <S-Up>        1  same as CTRL-B
  429. |<Undo>|    <Undo>        2  same as "u"
  430. |<Up>|        <Up>        1  same as "k"
  431. |<MouseDown>|    <MouseDown>       scroll three lines downwards
  432. |<S-MouseDown>|    <S-MouseDown>       scroll a full page downwards
  433. |<MouseUp>|    <MouseUp>       scroll three lines upwards
  434. |<S-MouseUp>|    <S-MouseUp>       scroll a full page upwards
  435.  
  436. ==============================================================================
  437. 2.1 Text objects                        *objects*
  438.  
  439. These can be used after an operator or in Visual mode to select an object.
  440.  
  441. tag        command           action in Normal mode    ~
  442. ------------------------------------------------------------------------------
  443. |v_a(|        a(           same as ab
  444. |v_a)|        a)           same as ab
  445. |v_a<|        a<           "a <>" from '<' to the matching '>'
  446. |v_a>|        a>           same as a<
  447. |v_aB|        aB           "a Block" from "[{" to "]}" (with brackets)
  448. |v_aW|        aW           "a WORD" (with white space)
  449. |v_a[|        a[           "a []" from '[' to the matching ']'
  450. |v_a]|        a]           same as a[
  451. |v_ab|        ab           "a block" from "[(" to "])" (with braces)
  452. |v_ap|        ap           "a paragraph" (with white space)
  453. |v_as|        as           "a sentence" (with white space)
  454. |v_aw|        aw           "a word" (with white space)
  455. |v_a{|        a{           same as aB
  456. |v_a}|        a}           same as aB
  457. |v_i(|        i(           same as ib
  458. |v_i)|        i)           same as ib
  459. |v_i<|        i<           "inner <>" from '<' to the matching '>'
  460. |v_i>|        i>           same as i<
  461. |v_iB|        iB           "inner Block" from "[{" and "]}"
  462. |v_iW|        iW           "inner WORD"
  463. |v_i[|        i[           "inner []" from '[' to the matching ']'
  464. |v_i]|        i]           same as i[
  465. |v_ib|        ib           "inner block" from "[(" to "])"
  466. |v_ip|        ip           "inner paragraph"
  467. |v_is|        is           "inner sentence"
  468. |v_iw|        iw           "inner word"
  469. |v_i{|        i{           same as iB
  470. |v_i}|        i}           same as iB
  471.  
  472. ==============================================================================
  473. 2.2 Window commands                        *CTRL-W*
  474.  
  475. tag        command           action in Normal mode    ~
  476. ------------------------------------------------------------------------------
  477. |CTRL-W_CTRL-B|    CTRL-W CTRL-B       same as "CTRL-W b"
  478. |CTRL-W_CTRL-C|    CTRL-W CTRL-C       same as "CTRL-W c"
  479. |CTRL-W_CTRL-D|    CTRL-W CTRL-D       same as "CTRL-W d"
  480. |CTRL-W_CTRL-F|    CTRL-W CTRL-F       same as "CTRL-W f"
  481.         CTRL-W CTRL-G       same as "CTRL-W g .."
  482. |CTRL-W_CTRL-H|    CTRL-W CTRL-H       same as "CTRL-W h"
  483. |CTRL-W_CTRL-I|    CTRL-W CTRL-I       same as "CTRL-W i"
  484. |CTRL-W_CTRL-J|    CTRL-W CTRL-J       same as "CTRL-W j"
  485. |CTRL-W_CTRL-K|    CTRL-W CTRL-K       same as "CTRL-W k"
  486. |CTRL-W_CTRL-L|    CTRL-W CTRL-L       same as "CTRL-W l"
  487. |CTRL-W_CTRL-N|    CTRL-W CTRL-N       same as "CTRL-W n"
  488. |CTRL-W_CTRL-O|    CTRL-W CTRL-O       same as "CTRL-W o"
  489. |CTRL-W_CTRL-P|    CTRL-W CTRL-P       same as "CTRL-W p"
  490. |CTRL-W_CTRL-Q|    CTRL-W CTRL-Q       same as "CTRL-W q"
  491. |CTRL-W_CTRL-R|    CTRL-W CTRL-R       same as "CTRL-W r"
  492. |CTRL-W_CTRL-S|    CTRL-W CTRL-S       same as "CTRL-W s"
  493. |CTRL-W_CTRL-T|    CTRL-W CTRL-T       same as "CTRL-W t"
  494. |CTRL-W_CTRL-V|    CTRL-W CTRL-V       same as "CTRL-W v"
  495. |CTRL-W_CTRL-W|    CTRL-W CTRL-W       same as "CTRL-W w"
  496. |CTRL-W_CTRL-X|    CTRL-W CTRL-X       same as "CTRL-W x"
  497. |CTRL-W_CTRL-Z|    CTRL-W CTRL-Z       same as "CTRL-W z"
  498. |CTRL-W_CTRL-]|    CTRL-W CTRL-]       same as "CTRL-W ]"
  499. |CTRL-W_CTRL-^|    CTRL-W CTRL-^       same as "CTRL-W ^"
  500. |CTRL-W_CTRL-_|    CTRL-W CTRL-_       same as "CTRL-W _"
  501. |CTRL-W_+|    CTRL-W +       increase current window height N lines
  502. |CTRL-W_-|    CTRL-W -       decrease current window height N lines
  503. |CTRL-W_<|    CTRL-W <       increase current window width N columns
  504. |CTRL-W_=|    CTRL-W =       make all windows the same height
  505. |CTRL-W_>|    CTRL-W >       decrease current window width N columns
  506. |CTRL-W_H|    CTRL-W H       move current window to the far left
  507. |CTRL-W_J|    CTRL-W J       move current window to the very bottom
  508. |CTRL-W_K|    CTRL-W K       move current window to the very top
  509. |CTRL-W_L|    CTRL-W L       move current window to the far right
  510. |CTRL-W_P|    CTRL-W P       go to preview window
  511. |CTRL-W_R|    CTRL-W R       rotate windows upwards N times
  512. |CTRL-W_S|    CTRL-W S       same as "CTRL-W s"
  513. |CTRL-W_W|    CTRL-W W       go to N previous window (wrap around)
  514. |CTRL-W_]|    CTRL-W ]       split window and jump to tag under cursor
  515. |CTRL-W_^|    CTRL-W ^       split current window and edit alternate
  516.                    file N
  517. |CTRL-W__|    CTRL-W _       set current window height to N (default:
  518.                    very high)
  519. |CTRL-W_b|    CTRL-W b       go to bottom window
  520. |CTRL-W_c|    CTRL-W c       close current window (like |:close|)
  521. |CTRL-W_d|    CTRL-W d       split window and jump to definition under
  522.                    the cursor
  523. |CTRL-W_f|    CTRL-W f       split window and edit file name under the
  524.                    cursor
  525. |CTRL-W_g_CTRL-]| CTRL-W g CTRL-]  split window and do |:tjump| to tag under
  526.                    cursor
  527. |CTRL-W_g]|    CTRL-W g ]       split window and do |:tselect| for tag
  528.                    under cursor
  529. |CTRL-W_g}|    CTRL-W g }       do a |:ptjump| to the tag under the cursor
  530. |CTRL-W_h|    CTRL-W h       go to Nth left window (stop at first window)
  531. |CTRL-W_i|    CTRL-W i       split window and jump to declaration of
  532.                    identifier under the cursor
  533. |CTRL-W_j|    CTRL-W j       go to N next window (stop at last window)
  534. |CTRL-W_k|    CTRL-W k       go to N previous window (stop at first
  535.                    window)
  536. |CTRL-W_l|    CTRL-W l       go to Nth right window (stop at last window)
  537. |CTRL-W_n|    CTRL-W n       open new window, N lines high
  538. |CTRL-W_o|    CTRL-W o       close all but current window (like |:only|)
  539. |CTRL-W_p|    CTRL-W p       go to previous (last accessed) window
  540. |CTRL-W_q|    CTRL-W q       quit current window (like |:quit|)
  541. |CTRL-W_r|    CTRL-W r       rotate windows downwards N times
  542. |CTRL-W_s|    CTRL-W s       split current window in two parts, new
  543.                    window N lines high
  544. |CTRL-W_t|    CTRL-W t       go to top window
  545. |CTRL-W_v|    CTRL-W v       split current window vertically, new window
  546.                    N lines wide
  547. |CTRL-W_w|    CTRL-W w       go to N next window (wrap around)
  548. |CTRL-W_x|    CTRL-W x       exchange current window with window N
  549.                    (default: next window)
  550. |CTRL-W_z|    CTRL-W z       close preview window
  551. |CTRL-W_bar|    CTRL-W |       set window width to N columns
  552. |CTRL-W_}|    CTRL-W }       show tag under cursor in preview window
  553. |CTRL-W_<Down>|    CTRL-W <Down>       same as "CTRL-W j"
  554. |CTRL-W_<Up>|    CTRL-W <Up>       same as "CTRL-W k"
  555. |CTRL-W_<Left>|    CTRL-W <Left>       same as "CTRL-W h"
  556. |CTRL-W_<Right>| CTRL-W <Right>       same as "CTRL-W l"
  557.  
  558. ==============================================================================
  559. 2.3 Square bracket commands                    *[* *]*
  560.  
  561. tag        char          note action in Normal mode    ~
  562. ------------------------------------------------------------------------------
  563. |[_CTRL-D|    [_CTRL-D       jump to first #define found in current and
  564.                    included files matching the word under the
  565.                    cursor, start searching at beginning of
  566.                    current file
  567. |[_CTRL-I|    [_CTRL-I       jump to first line in current and included
  568.                    files that contains the word under the
  569.                    cursor, start searching at beginning of
  570.                    current file
  571. |[#|        [#        1  cursor to N previous unmatched #if, #else
  572.                    or #ifdef
  573. |['|        ['        1  cursor to previous lowercase mark, on first
  574.                    non-blank
  575. |[(|        [(        1  cursor N times back to unmatched '('
  576. |[star|        [*        1  same as "[/"
  577. |[`|        [`        1  cursor to previous lowercase mark
  578. |[/|        [/        1  cursor to N previous start of a C comment
  579. |[D|        [D           list all defines found in current and
  580.                    included files matching the word under the
  581.                    cursor, start searching at beginning of
  582.                    current file
  583. |[I|        [I           list all lines found in current and
  584.                    included files that contain the word under
  585.                    the cursor, start searching at beginning of
  586.                    current file
  587. |[P|        [P        2  same as "[p"
  588. |[[|        [[        1  cursor N sections backward
  589. |[]|        []        1  cursor N SECTIONS backward
  590. |[c|        [c        1  cursor N times backwards to start of change
  591. |[d|        [d           show first #define found in current and
  592.                    included files matching the word under the
  593.                    cursor, start searching at beginning of
  594.                    current file
  595. |[f|        [f           same as "gf"
  596. |[i|        [i           show first line found in current and
  597.                    included files that contains the word under
  598.                    the cursor, start searching at beginning of
  599.                    current file
  600. |[p|        [p        2  like "P", but adjust indent to current line
  601. |[m|        [m        1  cursor N times back to start of member
  602.                    function
  603. |[z|        [z        1  move to start of open fold
  604. |[{|        [{        1  cursor N times back to unmatched '{'
  605. |[<MiddleMouse> [<MiddleMouse>    2  same as "[p"
  606.  
  607. |]_CTRL-D|    ]_CTRL-D       jump to first #define found in current and
  608.                    included files matching the word under the
  609.                    cursor, start searching at cursor position
  610. |]_CTRL-I|    ]_CTRL-I       jump to first line in current and included
  611.                    files that contains the word under the
  612.                    cursor, start searching at cursor position
  613. |]#|        ]#        1  cursor to N next unmatched #endif or #else
  614. |]'|        ]'        1  cursor to next lowercase mark, on first
  615.                    non-blank
  616. |])|        ])        1  cursor N times forward to unmatched ')'
  617. |]star|        ]*        1  same as "]/"
  618. |]`|        ]`        1  cursor to next lowercase mark
  619. |]/|        ]/        1  cursor to N next end of a C comment
  620. |]D|        ]D           list all #defines found in current and
  621.                    included files matching the word under the
  622.                    cursor, start searching at cursor position
  623. |]I|        ]I           list all lines found in current and
  624.                    included files that contain the word under
  625.                    the cursor, start searching at cursor
  626.                    position
  627. |]P|        ]P        2  same as "[p"
  628. |][|        ][        1  cursor N SECTIONS forward
  629. |]]|        ]]        1  cursor N sections forward
  630. |]c|        ]c        1  cursor N times forward to start of change
  631. |]d|        ]d           show first #define found in current and
  632.                    included files matching the word under the
  633.                    cursor, start searching at cursor position
  634. |]f|        ]f           same as "gf"
  635. |]i|        ]i           show first line found in current and
  636.                    included files that contains the word under
  637.                    the cursor, start searching at cursor
  638.                    position
  639. |]p|        ]p        2  like "p", but adjust indent to current line
  640. |]m|        ]m        1  cursor N times forward to end of member
  641.                    function
  642. |]z|        ]z        1  move to end of open fold
  643. |]}|        ]}        1  cursor N times forward to unmatched '}'
  644. |]<MiddleMouse> ]<MiddleMouse>    2  same as "]p"
  645.  
  646. ==============================================================================
  647. 2.4 Commands starting with 'g'                        *g*
  648.  
  649. tag        char          note action in Normal mode    ~
  650. ------------------------------------------------------------------------------
  651. |g_CTRL-A|    g_CTRL-A       only when compiled with MEM_PROFILE
  652.                    defined: dump a memory profile
  653. |g_CTRL-G|    g_CTRL-G       show information about current cursor
  654.                    position
  655. |g_CTRL-H|    g_CTRL-H       start Select block mode
  656. |g_CTRL-]|    g_CTRL-]       |:tjump| to the tag under the cursor
  657. |g#|        g#        1  like "#", but without using "\<" and "\>"
  658. |g$|        g$        1  when 'wrap' off go to rightmost character of
  659.                    the current line that is on the screen;
  660.                    when 'wrap' on go to the rightmost character
  661.                    of the current screen line
  662. |g&|        g&        2  repeat last ":s" on all lines
  663. |g'|        g'{mark}    1  like |'| but without changing the jumplist
  664. |g`|        g`{mark}    1  like |`| but without changing the jumplist
  665. |gstar|        g*        1  like "*", but without using "\<" and "\>"
  666. |g0|        g0        1  when 'wrap' off go to leftmost character of
  667.                    the current line that is on the screen;
  668.                    when 'wrap' on go to the leftmost character
  669.                    of the current screen line
  670. |g8|        g8           print hex value of bytes used in UTF-8
  671.                    character under the cursor
  672. |g?|        g?        2  Rot13 encoding operator
  673. |g?g?|        g??        2  Rot13 encode current line
  674. |g?g?|        g?g?        2  Rot13 encode current line
  675. |gD|        gD        1  go to definition of word under the cursor
  676.                    in current file
  677. |gE|        gE        1  go backwards to the end of the previous
  678.                    WORD
  679. |gH|        gH           start Select line mode
  680. |gI|        gI        2  like "I", but always start in column 1
  681. |gJ|        gJ        2  join lines without inserting space
  682. |gP|        ["x]gP        2  put the text [from register x] before the
  683.                    cursor N times, leave the cursor after it
  684. |gR|        gR        2  enter virtual replace mode
  685. |gU|        gU{motion}    2  make Nmove text uppercase
  686. |gV|        gV           don't reselect the previous Visual area
  687.                    when executing a mapping or menu in Select
  688.                    mode
  689. |g]|        g]           :tselect on the tag under the cursor
  690. |g^|        g^        1  when 'wrap' off go to leftmost non-white
  691.                    character of the current line that is on
  692.                    the screen; when 'wrap' on go to the
  693.                    leftmost non-white character of the current
  694.                    screen line
  695. |ga|        ga           print ascii value of character under the
  696.                    cursor
  697. |gd|        gd        1  go to definition of word under the cursor
  698.                    in current function
  699. |ge|        ge        1  go backwards to the end of the previous
  700.                    word
  701. |gf|        gf           start editing the file whose name is under
  702.                    the cursor
  703. |gg|        gg        1  cursor to line N, default first line
  704. |gh|        gh           start Select mode
  705. |gi|        gi        2  like "i", but first move to the |'^| mark
  706. |gj|        gj        1  like "j", but when 'wrap' on go N screen
  707.                    lines down
  708. |gk|        gk        1  like "k", but when 'wrap' on go N screen
  709.                    lines up
  710. |gm|        gm        1  go to character at middle of the screenline
  711. |go|        go        1  cursor to byte N in the buffer
  712. |gp|        ["x]gp        2  put the text [from register x] after the
  713.                    cursor N times, leave the cursor after it
  714. |gq|        gq{motion}    2  format Nmove text
  715. |gr|        gr{char}    2  virtual replace N chars with {char}
  716. |gs|        gs           go to sleep for N seconds (default 1)
  717. |gu|        gu{motion}    2  make Nmove text lowercase
  718. |gv|        gv           reselect the previous Visual area
  719. |g~|        g~{motion}    2  swap case for Nmove text
  720. |g<Down>|    g<Down>        1  same as "gj"
  721. |g<End>|    g<End>        1  same as "g$"
  722. |g<Home>|    g<Home>        1  same as "g0"
  723. |g<LeftMouse>|    g<LeftMouse>       same as <C-LeftMouse>
  724.         g<MiddleMouse>       same as <C-MiddleMouse>
  725. |g<RightMouse>|    g<RightMouse>       same as <C-RightMouse>
  726. |g<Up>|        g<Up>        1  same as "gk"
  727.  
  728. ==============================================================================
  729. 2.5 Commands starting with 'z'                        *z*
  730.  
  731. tag        char          note action in Normal mode    ~
  732. ------------------------------------------------------------------------------
  733. |z<CR>|        z<CR>           redraw, cursor line to top of window,
  734.                    cursor on first non-blank
  735. |zN<CR>|    z{height}<CR>       redraw, make window {height} lines high
  736. |z+|        z+           cursor on line N (default line below
  737.                    window), otherwise like "z<CR>"
  738. |z-|        z-           redraw, cursor line at bottom of window,
  739.                    cursor on first non-blank
  740. |z.|        z.           redraw, cursor line to center of window,
  741.                    cursor on first non-blank
  742. |zA|        zA           open a closed fold or close an open fold
  743.                    recursively
  744. |zC|        zC           close folds recursively
  745. |zD|        zD           delete folds recursively
  746. |zE|        zE           eliminate all folds
  747. |zF|        zF           create a fold for N lines
  748. |zM|        zM           set 'foldlevel' to zero
  749. |zN|        zN           set 'foldenable'
  750. |zO|        zO           open folds recursively
  751. |zR|        zR           set 'foldlevel' to the deepest fold
  752. |zX|        zX           re-apply 'foldlevel'
  753. |z^|        z^           cursor on line N (default line above
  754.                    window), otherwise like "z-"
  755. |za|        za           open a closed fold, close an open fold
  756. |zb|        zb           redraw, cursor line at bottom of window
  757. |zc|        zc           close a fold
  758. |zd|        zd           delete a fold
  759. |ze|        ze           when 'wrap' off scroll horizontally to
  760.                    position the cursor at the end (right side)
  761.                    of the screen
  762. |zf|        zf{motion}       create a fold for Nmove text
  763. |zh|        zh           when 'wrap' off scroll screen N characters
  764.                    to the right
  765. |zi|        zi           toggle 'foldenable'
  766. |zj|        zj        1  move to the start of the next fold
  767. |zk|        zk        1  move to the end of the previous fold
  768. |zl|        zl           when 'wrap' off scroll screen N characters
  769.                    to the left
  770. |zm|        zm           subtract one from 'foldlevel'
  771. |zn|        zn           reset 'foldenable'
  772. |zo|        zo           open fold
  773. |zr|        zr           add one to 'foldlevel'
  774. |zs|        zs           when 'wrap' off scroll horizontally to
  775.                    position the cursor at the start (left
  776.                    side) of the screen
  777. |zt|        zt           redraw, cursor line at top of window
  778. |zv|        zv           open enough folds to view the cursor line
  779. |zx|        zx           re-apply 'foldlevel' and do "zv"
  780. |zz|        zz           redraw, cursor line at center of window
  781. |z<Left>|    z<Left>           same as "zh"
  782. |z<Right>|    z<Right>       same as "zl"
  783.  
  784. ==============================================================================
  785. 3. Visual mode                        *visual-index*
  786.  
  787. Most commands in Visual mode are the same as in Normal mode. The ones listed
  788. here are those that are different.
  789.  
  790. tag        command          note action in Visual mode    ~
  791. ------------------------------------------------------------------------------
  792. |v_CTRL-\_CTRL-N| CTRL-\ CTRL-N       stop Visual mode
  793. |v_CTRL-G|    CTRL-G           toggle between Visual mode and Select mode
  794. |v_<BS>|    <BS>        2  Select mode: delete highlighted area
  795. |v_CTRL-H|    CTRL-H        2  same as <BS>
  796. |v_CTRL-O|    CTRL-O           switch from Select to Visual mode for one
  797.                    command
  798. |v_CTRL-V|    CTRL-V           make Visual mode blockwise or stop Visual
  799.                    mode
  800. |v_CTRL-]|    CTRL-]           jump to highlighted tag
  801. |v_!|        !{filter}    2  filter the highlighted lines through the
  802.                    external command {filter}
  803. |v_:|        :           start a command-line with the highlighted
  804.                    lines as a range
  805. |v_<|        <        2  shift the highlighted lines one
  806.                    'shiftwidth' left
  807. |v_=|        =        2  filter the highlighted lines through the
  808.                    external program given with the 'equalprg'
  809.                    option
  810. |v_>|        >        2  shift the highlighted lines one
  811.                    'shiftwidth' right
  812. |v_b_A|        A        2  block mode: append same text in all lines,
  813.                    after the highlighted area
  814. |v_C|        C        2  delete the highlighted lines and start
  815.                    insert
  816. |v_D|        D        2  delete the highlighted lines
  817. |v_b_I|        I        2  block mode: insert same text in all lines,
  818.                    before the highlighted area
  819. |v_J|        J        2  join the highlighted lines
  820. |v_K|        K           run 'keywordprg' on the highlighted area
  821. |v_O|        O           Move horizontally to other corner of area.
  822.         Q           does not start Ex mode
  823. |v_R|        R        2  delete the highlighted lines and start
  824.                    insert
  825. |v_S|        S        2  delete the highlighted lines and start
  826.                    insert
  827. |v_U|        U        2  make highlighted area uppercase
  828. |v_V|        V           make Visual mode linewise or stop Visual
  829.                    mode
  830. |v_X|        X        2  delete the highlighted lines
  831. |v_Y|        Y           yank the highlighted lines
  832. |v_a(|        a(           same as ab
  833. |v_a)|        a)           same as ab
  834. |v_a<|        a<           extend highlighted area with a <> block
  835. |v_a>|        a>           same as a<
  836. |v_aB|        aB           extend highlighted area with a {} block
  837. |v_aW|        aW           extend highlighted area with "a WORD"
  838. |v_a[|        a[           extend highlighted area with a [] block
  839. |v_a]|        a]           same as a[
  840. |v_ab|        ab           extend highlighted area with a () block
  841. |v_ap|        ap           extend highlighted area with a paragraph
  842. |v_as|        as           extend highlighted area with a sentence
  843. |v_aw|        aw           extend highlighted area with "a word"
  844. |v_a{|        a{           same as aB
  845. |v_a}|        a}           same as aB
  846. |v_c|        c        2  delete highlighted area and start insert
  847. |v_d|        d        2  delete highlighted area
  848. |v_gJ|        gJ        2  join the highlighted lines without
  849.                    inserting spaces
  850. |v_gq|        gq        2  format the highlighted lines
  851. |v_gv|        gv           exchange current and previous highlighted
  852.                    area
  853. |v_i(|        i(           same as ib
  854. |v_i)|        i)           same as ib
  855. |v_i<|        i<           extend highlighted area with inner <> block
  856. |v_i>|        i>           same as i<
  857. |v_iB|        iB           extend highlighted area with inner {} block
  858. |v_iW|        iW           extend highlighted area with "inner WORD"
  859. |v_i[|        i[           extend highlighted area with inner [] block
  860. |v_i]|        i]           same as i[
  861. |v_ib|        ib           extend highlighted area with inner () block
  862. |v_ip|        ip           extend highlighted area with inner paragraph
  863. |v_is|        is           extend highlighted area with inner sentence
  864. |v_iw|        iw           extend highlighted area with "inner word"
  865. |v_i{|        i{           same as iB
  866. |v_i}|        i}           same as iB
  867. |v_o|        o           move cursor to other corner of area
  868. |v_r|        r        2  delete highlighted area and start insert
  869. |v_s|        s        2  delete highlighted area and start insert
  870. |v_u|        u        2  make highlighted area lowercase
  871. |v_v|        v           make Visual mode characterwise or stop
  872.                    Visual mode
  873. |v_x|        x        2  delete the highlighted area
  874. |v_y|        y           yank the highlighted area
  875. |v_~|        ~        2  swap case for the highlighted area
  876.  
  877. ==============================================================================
  878. 4. Command-line editing                    *ex-edit-index*
  879.  
  880. Get to the command-line with the ':', '!', '/' or '?' commands.
  881. Normal characters are inserted at the current cursor position.
  882. "Completion" below refers to context-sensitive completion.  It will complete
  883. file names, tags, commands etc. as appropriate.
  884.  
  885.         CTRL-@        not used
  886. |c_CTRL-A|    CTRL-A        do completion on the pattern in front of the
  887.                 cursor and insert all matches
  888. |c_CTRL-B|    CTRL-B        cursor to begin of command-line
  889. |c_CTRL-C|    CTRL-C        same as <ESC>
  890. |c_CTRL-D|    CTRL-D        list completions that match the pattern in
  891.                 front of the cursor
  892. |c_CTRL-E|    CTRL-E        cursor to end of command-line
  893. |'cedit'|    CTRL-F        default value for 'cedit': opens the
  894.                 command-line window; otherwise not used
  895.         CTRL-G        not used
  896. |c_<BS>|    <BS>        delete the character in front of the cursor
  897. |c_digraph|    {char1} <BS> {char2}
  898.                 enter digraph when 'digraph' is on
  899. |c_CTRL-H|    CTRL-H        same as <BS>
  900. |c_<Tab>|    <Tab>        if 'wildchar' is <Tab>: Do completion on
  901.                 the pattern in front of the cursor
  902. |c_<S-Tab>|    <S-Tab>        same as CTRL-P
  903. |c_wildchar|    'wildchar'    Do completion on the pattern in front of the
  904.                 cursor (default: <Tab>)
  905. |c_CTRL-I|    CTRL-I        same as <Tab>
  906. |c_<NL>|    <NL>        same as <CR>
  907. |c_CTRL-J|    CTRL-J        same as <CR>
  908. |c_CTRL-K|    CTRL-K {char1} {char2}
  909.                 enter digraph
  910. |c_CTRL-L|    CTRL-L        do completion on the pattern in front of the
  911.                 cursor and insert the longest common part
  912. |c_<CR>|    <CR>        execute entered command
  913. |c_<CR>|    CTRL-M        same as <CR>
  914. |c_CTRL-N|    CTRL-N        after using 'wildchar' with multiple matches:
  915.                 go to next match, otherwise: same as <Down>
  916.         CTRL-O        not used
  917. |c_CTRL-P|    CTRL-P        after using 'wildchar' with multiple matches:
  918.                 go to previous match, otherwise: same as <Up>
  919. |c_CTRL-Q|    CTRL-Q        same as CTRL-V (used for terminal control flow)
  920. |c_CTRL-R|    CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A}
  921.                 insert the contents of a register or object
  922.                 under the cursor as if typed
  923. |c_CTRL-R_CTRL-R| CTRL-R CTRL-R {0-9a-z"%#*:= CTRL-F CTRL-P CTRL-W CTRL-A}
  924.                 insert the contents of a register or object
  925.                 under the cursor literally
  926.         CTRL-S        (used for terminal control flow)
  927.         CTRL-T        not used
  928. |c_CTRL-U|    CTRL-U        remove all characters
  929. |c_CTRL-V|    CTRL-V        insert next non-digit literally, insert three
  930.                 digit decimal number as a single byte.
  931. |c_CTRL-W|    CTRL-W        delete the word in front of the cursor
  932.         CTRL-X        not used (reserved for completion)
  933.         CTRL-Y        copy (yank) modeless selection
  934.         CTRL-Z        not used (reserved for suspend)
  935. |c_<Esc>|    <Esc>        abandon command-line without executing it
  936. |c_<Esc>|    CTRL-[        same as <Esc>
  937. |c_CTRL-\_CTRL-N| CTRL-\ CTRL-N     go to Normal mode, abandon command-line
  938.         CTRL-\ a - z    reserved for extensions
  939.         CTRL-\ others    not used
  940.         CTRL-]        not used
  941. |c_CTRL-^|    CTRL-^        toggle use of |:lmap| mappings
  942. |c_CTRL-_|    CTRL-_        when 'allowrevins' set: change language
  943.                 (Hebrew, Farsi)
  944. |c_<Del>|    <Del>        delete the character under the cursor
  945.  
  946. |c_<Left>|    <Left>        cursor left
  947. |c_<S-Left>|    <S-Left>    cursor one word left
  948. |c_<C-Left>|    <C-Left>    cursor one word left
  949. |c_<Right>|    <Right>        cursor right
  950. |c_<S-Right>|    <S-Right>    cursor one word right
  951. |c_<C-Right>|    <C-Right>    cursor one word right
  952. |c_<Up>|    <Up>        recall previous command-line from history that
  953.                 matches pattern in front of the cursor
  954. |c_<S-Up>|    <S-Up>        recall previous command-line from history
  955. |c_<Down>|    <Down>        recall next command-line from history that
  956.                 matches pattern in front of the cursor
  957. |c_<S-Down>|    <S-Down>    recall next command-line from history
  958. |c_<Home>|    <Home>        cursor to start of command-line
  959. |c_<End>|    <End>        cursor to end of command-line
  960. |c_<PageDown>|    <PageDown>    same as <S-Down>
  961. |c_<PageUp>|    <PageUp>    same as <S-Up>
  962. |c_<Insert>|    <Insert>    toggle insert/overstrike mode
  963. |c_<LeftMouse>|    <LeftMouse>    cursor at mouse click
  964.  
  965. You found it, Arthur!                *holy-grail*
  966.  
  967. ==============================================================================
  968. 5. EX commands                    *ex-cmd-index* *:index*
  969.  
  970. This is a brief but complete listing of all the ":" commands, without
  971. mentioning any arguments.  The optional part of the command name is inside [].
  972. The commands are sorted on the non-optional part of their name.
  973.  
  974. |:!|        :!        filter lines or execute an external command
  975. |:!!|        :!!        repeat last ":!" command
  976. |:#|        :#        same as ":number"
  977. |:&|        :&        repeat last ":substitute"
  978. |:star|        :*        execute contents of a register
  979. |:<|        :<        shift lines one 'shiftwidth' left
  980. |:=|        :=        print the cursor line number
  981. |:>|        :>        shift lines one 'shiftwidth' right
  982. |:@|        :@        execute contents of a register
  983. |:@@|        :@@        repeat the previous ":@"
  984. |:Next|        :N[ext]        go to previous file in the argument list
  985. |:Print|    :P[rint]    print lines
  986. |:X|        :X        ask for encryption key
  987. |:append|    :a[ppend]    append text
  988. |:abbreviate|    :ab[breviate]    enter abbreviation
  989. |:abclear|    :abc[lear]    remove all abbreviations
  990. |:all|        :al[l]        open a window for each file in the argument
  991.                 list
  992. |:amenu|    :am[enu]    enter new menu item for all modes
  993. |:anoremenu|    :an[oremenu]    enter a new menu for all modes that will not
  994.                 be remapped
  995. |:args|        :ar[gs]        print the argument list
  996. |:argadd|    :arga[dd]    add items to the argument list
  997. |:argdelete|    :argd[elete]    delete items from the argument list
  998. |:argdo|    :argdo        do a command on all items in the argument list
  999. |:argglobal|    :argg[lobal]    define the global argument list
  1000. |:arglocal|    :argl[ocal]    define a local argument list
  1001. |:argument|    :argu[ment]    go to specific file in the argument list
  1002. |:ascii|    :as[cii]    print ascii value of character under the cursor
  1003. |:autocmd|    :au[tocmd]    enter or show autocommands
  1004. |:augroup|    :aug[roup]    select the autocommand group to use
  1005. |:aunmenu|    :aun[menu]    remove menu for all modes
  1006. |:buffer|    :b[uffer]    go to specific buffer in the buffer list
  1007. |:bNext|    :bN[ext]    go to next buffer in the buffer list
  1008. |:ball|        :ba[ll]        open a window for each file in the buffer list
  1009. |:badd|        :bad[d]        add file to the buffer list
  1010. |:bdelete|    :bd[elete]    remove a file from the buffer list
  1011. |:behave|    :be[have]    set mouse and selection behavior
  1012. |:bfirst|    :bf[irst]    go to first file in the buffer list
  1013. |:blast|    :bl[ast]    go to last file in the buffer list
  1014. |:bmodified|    :bm[odified]    go to next file in the buffer list that has
  1015.                 been modified
  1016. |:bnext|    :bn[ext]    go to next file in the buffer list
  1017. |:botright|    :bo[tright]    make split window appear at bottom or far right
  1018. |:bprevious|    :bp[revious]    go to previous file in the buffer list
  1019. |:brewind|    :br[ewind]    go to first file in the buffer list
  1020. |:break|    :brea[k]    break out of while loop
  1021. |:browse|    :bro[wse]    use file selection dialog
  1022. |:buffers|    :buffers    list all files in the buffer list
  1023. |:bunload|    :bun[load]    unload a specific buffer
  1024. |:bwipeout|    :bw[ipeout]    really delete a buffer
  1025. |:change|    :c[hange]    replace a line or series of lines
  1026. |:cNext|    :cN[ext]    go to previous error
  1027. |:cabbrev|    :ca[bbrev]    like ":abbreviate" but for Command-line mode
  1028. |:cabclear|    :cabc[lear]    clear all abbreviations for Command-line mode
  1029. |:call|        :cal[l]        call a function
  1030. |:cc|        :cc        go to specific error
  1031. |:cclose|    :ccl[ose]    close quickfix window
  1032. |:cd|        :cd        change directory
  1033. |:center|    :ce[nter]    format lines at the center
  1034. |:cfile|    :cf[ile]    read the file with error messages
  1035. |:cfirst|    :cfir[st]    go to the specified error, default first one
  1036. |:chdir|    :chd[ir]    change directory
  1037. |:checkpath|    :che[ckpath]    list included files
  1038. |:checktime|    :checkt[ime]    check timestamp of loaded buffers
  1039. |:clist|    :cl[ist]    list all errors
  1040. |:clast|    :cla[st]    go to the specified error, default last one
  1041. |:close|    :clo[se]    close current window
  1042. |:cmap|        :cm[ap]        like ":map" but for Command-line mode
  1043. |:cmapclear|    :cmapc[lear]    clear all mappings for Command-line mode
  1044. |:cmenu|    :cme[nu]    add menu for Command-line mode
  1045. |:cnext|    :cn[ext]    go to next error
  1046. |:cnewer|    :cnew[er]    go to newer error list
  1047. |:cnfile|    :cnf[ile]    go to first error in next file
  1048. |:cnoremap|    :cno[remap]    like ":noremap" but for Command-line mode
  1049. |:cnoreabbrev|    :cnorea[bbrev]    like ":noreabbrev" but for Command-line mode
  1050. |:cnoremenu|    :cnoreme[nu]    like ":noremenu" but for Command-line mode
  1051. |:copy|        :co[py]        copy lines
  1052. |:colder|    :col[der]    go to older error list
  1053. |:colorscheme|    :colo[rscheme]    load a specifi color scheme
  1054. |:command|    :com[mand]    create user-defined command
  1055. |:comclear|    :comc[lear]    clear all user-defined commands
  1056. |:compiler|    :comp[iler]    do settings for a specific compiler
  1057. |:continue|    :con[tinue]    go back to :while
  1058. |:confirm|    :conf[irm]    prompt user when confirmation required
  1059. |:copen|    :cope[n]    open quickfix window
  1060. |:cprevious|    :cp[revious]    go to previous error
  1061. |:cquit|    :cq[uit]    quit Vim with an error code
  1062. |:crewind|    :cr[ewind]    go to the specified error, default first one
  1063. |:cscope|    :cs[cope]       execute cscope command
  1064. |:cstag|    :cst[ag]    use cscope to jump to a tag
  1065. |:cunmap|    :cu[nmap]    like ":unmap" but for Command-line mode
  1066. |:cunabbrev|    :cuna[bbrev]    like ":unabbrev" but for Command-line mode
  1067. |:cunmenu|    :cunme[nu]    remove menu for Command-line mode
  1068. |:cwindow|    :cw[indow]    open or close quickfix window
  1069. |:delete|    :d[elete]    delete lines
  1070. |:debug|    :deb[ug]    run a command in debugging mode
  1071. |:delcommand|    :delc[ommand]    delete user-defined command
  1072. |:delfunction|    :delf[unction]    delete a user function
  1073. |:display|    :di[splay]    display registers
  1074. |:diffupdate|    :dif[fupdate]    update 'diff' buffers
  1075. |:diffget|    :diffg[et]    remove differences in current buffer
  1076. |:diffpatch|    :diffp[atch]    apply a patch and show differences
  1077. |:diffput|    :diffpu[t]    remove differences in other buffer
  1078. |:diffsplit|    :diffs[plit]    show differences with another file
  1079. |:digraphs|    :dig[raphs]    show or enter digraphs
  1080. |:djump|    :dj[ump]    jump to #define
  1081. |:dlist|    :dl[ist]    list #defines
  1082. |:doautocmd|    :do[autocmd]    apply autocommands to current buffer
  1083. |:doautoall|    :doautoa[ll]    apply autocommands for all loaded buffers
  1084. |:dsearch|    :ds[earch]    list one #define
  1085. |:dsplit|    :dsp[lit]    split window and jump to #define
  1086. |:edit|        :e[dit]        edit a file
  1087. |:echo|        :ec[ho]        echoes the result of expressions
  1088. |:echoerr|    :echoe[rr]    like :echo, show like an error and use history
  1089. |:echohl|    :echoh[l]    set highlighting for echo commands
  1090. |:echomsg|    :echom[sg]    same as :echo, put message in history
  1091. |:echon|    :echon        same as :echo, but without <EOL>
  1092. |:else|        :el[se]        part of an :if command
  1093. |:elseif|    :elsei[f]    part of an :if command
  1094. |:emenu|    :em[enu]    execute a menu by name
  1095. |:endif|    :en[dif]    end previous :if
  1096. |:endfunction|    :endf[unction]    end of a user function
  1097. |:endwhile|    :endw[hile]    end previous :while
  1098. |:enew|        :ene[w]        edit a new, unnamed buffer
  1099. |:ex|        :ex        same as ":edit"
  1100. |:execute|    :exe[cute]    execute result of expressions
  1101. |:exit|        :exi[t]        same as ":xit"
  1102. |:file|        :f[ile]        show or set the current file name
  1103. |:files|    :files        list all files in the buffer list
  1104. |:filetype|    :filet[ype]    switch file type detection on/off
  1105. |:find|        :fin[d]        find file in 'path' and edit it
  1106. |:finish|    :fini[sh]    quit sourcing a Vim script
  1107. |:first|    :fir[st]    go to the first file in the argument list
  1108. |:fixdel|    :fix[del]    set key code of <Del>
  1109. |:fold|        :fo[ld]        create a fold
  1110. |:foldclose|    :foldc[lose]    close folds
  1111. |:folddoopen|    :foldd[oopen]    execute command on lines not in a closed fold
  1112. |:folddoclosed|    :folddoc[losed]    execute command on lines in a closed fold
  1113. |:foldopen|    :foldo[pen]    open folds
  1114. |:function|    :fu[nction]    define a user function
  1115. |:global|    :g[lobal]    execute commands for matching lines
  1116. |:goto|        :go[to]        go to byte in the buffer
  1117. |:grep|        :gr[ep]        run 'grepprg' and jump to first match
  1118. |:gui|        :gu[i]        start the GUI
  1119. |:gvim|        :gv[im]        start the GUI
  1120. |:help|        :h[elp]        open a help window
  1121. |:helpfind|    :helpf[ind]    dialog to open a help window
  1122. |:highlight|    :hi[ghlight]    specify highlighting methods
  1123. |:hide|        :hid[e]        hide current buffer for a command
  1124. |:history|    :his[tory]    print a history list
  1125. |:insert|    :i[nsert]    insert text
  1126. |:iabbrev|    :ia[bbrev]    like ":abbrev" but for Insert mode
  1127. |:iabclear|    :iabc[lear]    like ":abclear" but for Insert mode
  1128. |:if|        :if        execute commands when condition met
  1129. |:ijump|    :ij[ump]    jump to definition of identifier
  1130. |:ilist|    :il[ist]    list lines where identifier matches
  1131. |:imap|        :im[ap]        like ":map" but for Insert mode
  1132. |:imapclear|    :imapc[lear]    like ":mapclear" but for Insert mode
  1133. |:imenu|    :ime[nu]    add menu for Insert mode
  1134. |:inoremap|    :ino[remap]    like ":noremap" but for Insert mode
  1135. |:inoreabbrev|    :inorea[bbrev]    like ":noreabbrev" but for Insert mode
  1136. |:inoremenu|    :inoreme[nu]    like ":noremenu" but for Insert mode
  1137. |:intro|    :int[ro]    print the introductory message
  1138. |:isearch|    :is[earch]    list one line where identifier matches
  1139. |:isplit|    :isp[lit]    split window and jump to definition of
  1140.                 identifier
  1141. |:iunmap|    :iu[nmap]    like ":unmap" but for Insert mode
  1142. |:iunabbrev|    :iuna[bbrev]    like ":unabbrev" but for Insert mode
  1143. |:iunmenu|    :iunme[nu]    remove menu for Insert mode
  1144. |:join|        :j[oin]        join lines
  1145. |:jumps|    :ju[mps]    print the jump list
  1146. |:k|        :k        set a mark
  1147. |:list|        :l[ist]        print lines
  1148. |:last|        :la[st]        go to the last file in the argument list
  1149. |:language|    :lan[guage]    set the language (locale)
  1150. |:lcd|        :lc[d]        change directory locally
  1151. |:lchdir|    :lch[dir]    change directory locally
  1152. |:left|        :le[ft]        left align lines
  1153. |:let|        :let        assign a value to a variable or option
  1154. |:ls|        :ls        list all buffers
  1155. |:loadview|    :lo[adview]    load view for current window from a file
  1156. |:move|        :m[ove]        move lines
  1157. |:mark|        :ma[rk]        set a mark
  1158. |:make|        :mak[e]        execute external command 'makeprg' and parse
  1159.                 error messages
  1160. |:map|        :map        show or enter a mapping
  1161. |:mapclear|    :mapc[lear]    clear all mappings for Normal and Visual mode
  1162. |:marks|    :marks        list all marks
  1163. |:match|    :mat[ch]    define a match to highlight
  1164. |:menu|        :me[nu]        enter a new menu item
  1165. |:menutranslate| :menut[ranslate] add a menu translation item
  1166. |:messages|    :mes[sages]    view previously displayed messages
  1167. |:mkexrc|    :mk[exrc]    write current mappings and settings to a file
  1168. |:mksession|    :mks[ession]    write session info to a file
  1169. |:mkvimrc|    :mkv[imrc]    write current mappings and settings to a file
  1170. |:mkview|    :mkvie[w]    write view of current window to a file
  1171. |:mode|        :mod[e]        show or change the screen mode
  1172. |:next|        :n[ext]        go to next file in the argument list
  1173. |:new|        :new        create a new empty window
  1174. |:nmap|        :nm[ap]        like ":map" but for Normal mode
  1175. |:nmapclear|    :nmapc[lear]    clear all mappings for Normal mode
  1176. |:nmenu|    :nme[nu]    add menu for Normal mode
  1177. |:nnoremap|    :nn[oremap]    like ":noremap" but for Normal mode
  1178. |:nnoremenu|    :nnoreme[nu]    like ":noremenu" but for Normal mode
  1179. |:noremap|    :no[remap]    enter a mapping that will not be remapped
  1180. |:nohlsearch|    :noh[lsearch]    suspend 'hlsearch' highlighting
  1181. |:noreabbrev|    :norea[bbrev]    enter an abbreviation that will not be
  1182.                 remapped
  1183. |:noremenu|    :noreme[nu]    enter a menu that will not be remapped
  1184. |:normal|    :norm[al]    execute Normal mode commands
  1185. |:number|    :nu[mber]    print lines with line number
  1186. |:nunmap|    :nun[map]    like ":unmap" but for Normal mode
  1187. |:nunmenu|    :nunme[nu]    remove menu for Normal mode
  1188. |:open|        :o[pen]        start open mode (not implemented)
  1189. |:omap|        :om[ap]        like ":map" but for Operator-pending mode
  1190. |:omapclear|    :omapc[lear]    remove all mappings for Operator-pending mode
  1191. |:omenu|    :ome[nu]    add menu for Operator-pending mode
  1192. |:only|        :on[ly]        close all windows except current one
  1193. |:onoremap|    :ono[remap]    like ":noremap" but for Operator-pending mode
  1194. |:onoremenu|    :onoreme[nu]    like ":noremenu" but for Operator-pending mode
  1195. |:options|    :opt[ions]    open the options-window
  1196. |:ounmap|    :ou[nmap]    like ":unmap" but for Operator-pending mode
  1197. |:ounmenu|    :ounme[nu]    remove menu for Operator-pending mode
  1198. |:print|    :p[rint]    print lines
  1199. |:pclose|    :pc[lose]    close preview window
  1200. |:perl|        :pe[rl]        execute Perl command
  1201. |:perldo|    :perld[o]    execute Perl command for each line
  1202. |:pop|        :po[p]        jump to older entry in tag stack
  1203. |:ppop|        :pp[op]        ":pop" in preview window
  1204. |:preserve|    :pre[serve]    write all text to swap file
  1205. |:previous|    :prev[ious]    go to previous file in argument list
  1206. |:promptfind|    :pro[mptfind]    Search dialog
  1207. |:promptrepl|    :promptr[epl]    Search/Replace dialog
  1208. |:ptag|        :pt[ag]        show tag in preview window
  1209. |:ptNext|    :ptN[ext]    |:tNext| in preview window
  1210. |:ptfirst|    :ptf[irst]    |:trewind| in preview window
  1211. |:ptjump|    :ptj[ump]    |:tjump| and show tag in preview window
  1212. |:ptlast|    :ptl[ast]    |:tlast| in preview window
  1213. |:ptnext|    :ptn[ext]    |:tnext| in preview window
  1214. |:ptprevious|    :ptp[revious]    |:tprevious| in preview window
  1215. |:ptrewind|    :ptr[ewind]    |:trewind| in preview window
  1216. |:ptselect|    :pts[elect]    |:tselect| and show tag in preview window
  1217. |:put|        :pu[t]        insert contents of register in the text
  1218. |:pwd|        :pw[d]        print current directory
  1219. |:python|    :py[thon]    execute Python command
  1220. |:pyfile|    :pyf[ile]    execute Python script file
  1221. |:quit|        :q[uit]        quit current window (when one window quit Vim)
  1222. |:quitall|    :quita[ll]    quit Vim
  1223. |:qall|        :qa[ll]        quit Vim
  1224. |:read|        :r[ead]        read file into the text
  1225. |:recover|    :rec[over]    recover a file from a swap file
  1226. |:redo|        :red[o]        redo one undone change
  1227. |:redir|    :redi[r]    redirect messages to a file or register
  1228. |:redraw|    :redr[aw]    force a redraw of the display
  1229. |:registers|    :reg[isters]    display the contents of registers
  1230. |:resize|    :res[ize]    change current window height
  1231. |:retab|    :ret[ab]    change tab size
  1232. |:return|    :retu[rn]    return from a user function
  1233. |:rewind|    :rew[ind]    go to the first file in the argument list
  1234. |:right|    :ri[ght]    right align text
  1235. |:runtime|    :ru[ntime]    source vim scripts in 'runtimepath'
  1236. |:rviminfo|    :rv[iminfo]    read from viminfo file
  1237. |:substitute|    :s[ubstitute]    find and replace text
  1238. |:sNext|    :sN[ext]    split window and go to previous file in
  1239.                 argument list
  1240. |:sargument|    :sa[rgument]    split window and go to specific file in
  1241.                 argument list
  1242. |:sall|        :sal[l]        open a window for each file in argument list
  1243. |:saveas|    :sav[eas]    save file under another name.
  1244. |:sbuffer|    :sb[uffer]    split window and go to specific file in the
  1245.                 buffer list
  1246. |:sbNext|    :sbN[ext]    split window and go to previous file in the
  1247.                 buffer list
  1248. |:sball|    :sba[ll]    open a window for each file in the buffer list
  1249. |:sbfirst|    :sbf[irst]    split window and go to first file in the
  1250.                 buffer list
  1251. |:sblast|    :sbl[ast]    split window and go to last file in buffer
  1252.                 list
  1253. |:sbmodified|    :sbm[odified]    split window and go to modified file in the
  1254.                 buffer list
  1255. |:sbnext|    :sbn[ext]    split window and go to next file in the buffer
  1256.                 list
  1257. |:sbprevious|    :sbp[revious]    split window and go to previous file in the
  1258.                 buffer list
  1259. |:sbrewind|    :sbr[ewind]    split window and go to first file in the
  1260.                 buffer list
  1261. |:scriptnames|    :scrip[tnames]    list names of all sourced Vim scripts
  1262. |:scriptencoding| :scripte[ncoding]    encoding used in sourced Vim script
  1263. |:scscope|    :scs[cope]      split window and execute cscope command
  1264. |:set|        :se[t]        show or set options
  1265. |:setfiletype|    :setf[iletype]    set 'filetype', unless it was set already
  1266. |:setglobal|    :setg[lobal]    show global values of options
  1267. |:setlocal|    :setl[ocal]    show or set options locally
  1268. |:sfind|    :sf[ind]    split current window and edit file in 'path'
  1269. |:sfirst|    :sfir[st]    split window and go to first file in the
  1270.                 argument list
  1271. |:shell|    :sh[ell]    escape to a shell
  1272. |:simalt|    :si[malt]    Win32 GUI: simulate Windows ALT key
  1273. |:sign|        :sig[n]        manipulate signs
  1274. |:silent|    :sil[ent]    Run a command silently
  1275. |:sleep|    :sl[eep]    do nothing for a few seconds
  1276. |:slast|    :sla[st]    split window and go to last file in the
  1277.                 argument list
  1278. |:smagic|    :sm[agic]    :substitute with 'magic'
  1279. |:snext|    :sn[ext]    split window and go to next file in the
  1280.                 argument list
  1281. |:sniff|    :sni[ff]    send request to sniff
  1282. |:snomagic|    :sno[magic]    :substitute with 'nomagic'
  1283. |:source|    :so[urce]    read Vim or Ex commands from a file
  1284. |:split|    :sp[lit]    split current window
  1285. |:sprevious|    :spr[evious]    split window and go to previous file in the
  1286.                 argument list
  1287. |:srewind|    :sr[ewind]    split window and go to first file in the
  1288.                 argument list
  1289. |:stop|        :st[op]        suspend the editor or escape to a shell
  1290. |:stag|        :sta[g]        split window and jump to a tag
  1291. |:startinsert|    :star[tinsert]    start Insert mode
  1292. |:stjump|    :stj[ump]    do ":tjump" and split window
  1293. |:stselect|    :sts[elect]    do ":tselect" and split window
  1294. |:sunhide|    :sun[hide]    same as ":unhide"
  1295. |:suspend|    :sus[pend]    same as ":stop"
  1296. |:sview|    :sv[iew]    split window and edit file read-only
  1297. |:swapname|    :sw[apname]    show the name of the current swap file
  1298. |:syntax|    :sy[ntax]    syntax highlighting
  1299. |:syncbind|    :sync[bind]    sync scroll binding
  1300. |:t|        :t        same as ":copy"
  1301. |:tNext|    :tN[ext]    jump to previous matching tag
  1302. |:tag|        :ta[g]        jump to tag
  1303. |:tags|        :tags        show the contents of the tag stack
  1304. |:tcl|        :tc[l]        execute Tcl command
  1305. |:tcldo|    :tcld[o]    execute Tcl command for each line
  1306. |:tclfile|    :tclf[ile]    execute Tcl script file
  1307. |:tearoff|    :te[aroff]    tear-off a menu
  1308. |:tfirst|    :tf[irst]    jump to first matching tag
  1309. |:tjump|    :tj[ump]    like ":tselect", but jump directly when there
  1310.                 is only one match
  1311. |:tlast|    :tl[ast]    jump to last matching tag
  1312. |:tmenu|    :tm[enu]    define menu tooltip
  1313. |:tnext|    :tn[ext]    jump to next matching tag
  1314. |:topleft|    :to[pleft]    make split window appear at top or far left
  1315. |:tprevious|    :tp[revious]    jump to previous matching tag
  1316. |:trewind|    :tr[ewind]    jump to first matching tag
  1317. |:tselect|    :ts[elect]    list matching tags and select one
  1318. |:tunmenu|    :tu[nmenu]    remove menu tooltip
  1319. |:undo|        :u[ndo]        undo last change(s)
  1320. |:unabbreviate|    :una[bbreviate]    remove abbreviation
  1321. |:unhide|    :unh[ide]    open a window for each loaded file in the
  1322.                 buffer list
  1323. |:unlet|    :unl[et]    delete variable
  1324. |:unmap|    :unm[ap]    remove mapping
  1325. |:unmenu|    :unme[nu]    remove menu
  1326. |:update|    :up[date]    write buffer if modified
  1327. |:vglobal|    :v[global]    execute commands for not matching lines
  1328. |:version|    :ve[rsion]    print version number and other info
  1329. |:verbose|    :verb[ose]    execute command with 'verbose' set
  1330. |:vertical|    :vert[ical]    make following command split vertically
  1331. |:visual|    :vi[sual]    same as ":edit", but turns off "Ex" mode
  1332. |:view|        :vie[w]        edit a file read-only
  1333. |:vmap|        :vm[ap]        like ":map" but for Visual mode
  1334. |:vmapclear|    :vmapc[lear]    remove all mappings for Visual mode
  1335. |:vmenu|    :vme[nu]    add menu for Visual mode
  1336. |:vnoremap|    :vn[oremap]    like ":noremap" but for Visual mode
  1337. |:vnew|        :vne[w]        create a new empty window, vertically split
  1338. |:vnoremenu|    :vnoreme[nu]    like ":noremenu" but for Visual mode
  1339. |:vsplit|    :vs[plit]    split current window vertically
  1340. |:vunmap|    :vu[nmap]    like ":unmap" but for Visual mode
  1341. |:vunmenu|    :vunme[nu]    remove menu for Visual mode
  1342. |:write|    :w[rite]    write to a file
  1343. |:wNext|    :wN[ext]    write to a file and go to previous file in
  1344.                 argument list
  1345. |:wall|        :wa[ll]        write all (changed) buffers
  1346. |:while|    :wh[ile]    execute loop for as long as condition met
  1347. |:winsize|    :wi[nsize]    get or set window size (obsolete)
  1348. |:wincmd|    :winc[md]    execute a Window (CTRL-W) command
  1349. |:winpos|    :winp[os]    get or set window position
  1350. |:wnext|    :wn[ext]    write to a file and go to next file in
  1351.                 argument list
  1352. |:wprevious|    :wp[revious]    write to a file and go to previous file in
  1353.                 argument list
  1354. |:wq|        :wq        write to a file and quit window or Vim
  1355. |:wqall|    :wqa[ll]    write all changed buffers and quit Vim
  1356. |:wviminfo|    :wv[iminfo]    write to viminfo file
  1357. |:xit|        :x[it]        write if buffer changed and quit window or Vim
  1358. |:xall|        :xa[ll]        same as ":wqall"
  1359. |:yank|        :y[ank]        yank lines into a register
  1360. |:z|        :z        print some lines
  1361. |:~|        :~        repeat last ":substitute"
  1362.  
  1363.  vim:tw=78:ts=8:ft=help:norl:
  1364.